﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FindArbitrageConsole.Data.Model;


namespace FindArbitrageConsole
{
    public interface IDbConnect
    {
        IEnumerable<KefData> GetAllMaxKefs(Int32? byEventId = null);

        List<KefData> GetAllKefs();

        List<KefData> GetKefs(IEnumerable<Tuple<int, int, int>> eventMarketSelectionIds);

        IEnumerable<KefData> GetArbMarkets(Int32? byEventId = null);

        IEnumerable<int> GetAllEvents();

        IEnumerable<ArbitrageLinkData> GetArbitrageLinks(Int32? byEventId = null);

        void WriteArbitrages(List<IEnumerable<ArbitrageLinkData>> listArbitrages);

    }
}
